import json

a = [
        ["aaaaa", "1111111", "密码错误"],
        ["aaaaaadfaasdf", "1111111", "登录帐号不存在"],
        ["aaaaaadfaasdf", "", "密码格式 6~18 个字符"],
    ]
print(json.dumps(a))